from tasks import add

result = add.delay(5, 6)

while not result.ready():
    pass
print('complete', result.get())

# 执行该文件